<div id="top_container">
    <div id="top_center" class="container_center">
      <div id="top_icon"></div>
      <div id="top_right">
        <div id="search">
          快速索引: <input type="text" name="" id="">
        </div>
        <div id="top_xx">
        </div>
      </div>
      <div class="clear"></div>
    </div>
  </div>
<div id="nav_container">
<div id="nav_center" class="container_center">
  <ul>
    <li class="nav_li"><a href="{% url 'web.index' %}" class="nav_link">返回首页</a></li>
    {% for n in navs%}
        {% if n.type == 4 %}
            <li class="nav_li"><a href="{{ n.href }}" class="nav_link">{{ n.name }}</a></li>
        {% else %}
            <li class="nav_li"><a href="{% url 'web.category_show' id=n.id %}" class="nav_link">{{ n.name }}</a></li>
        {% endif %}
    {% endfor %}
    <li class="clear"></li>
  </ul>
</div>
</div>